package com.djakapm.swing.common;

import javax.swing.*;
import java.awt.image.BufferedImage;

public class IconModel {
    private BufferedImage iconImage;
    private Icon icon;

    private int iconWidth;
    private int iconHeight;
    private int hGap;
    private int vGap;

    public IconModel(BufferedImage iconImage, Icon icon){
        this.iconImage = iconImage;
        this.icon = icon;

    }

    public BufferedImage getIconImage() {
        return iconImage;
    }

    public IconModel setIconImage(BufferedImage iconFile) {
        this.iconImage = iconFile;
        return this;
    }

    public Icon getIcon() {
        return icon;
    }

    public IconModel setIcon(Icon icon) {
        this.icon = icon;
        return this;
    }


    public int getIconWidth() {
        return iconWidth;
    }

    public IconModel setIconWidth(int iconWidth) {
        this.iconWidth = iconWidth;
        return this;
    }

    public int getIconHeight() {
        return iconHeight;
    }

    public IconModel setIconHeight(int iconHeight) {
        this.iconHeight = iconHeight;
        return this;
    }
    
    public int gethGap() {
        return hGap;
    }

    public IconModel sethGap(int hGap) {
        this.hGap = hGap;
        return this;
    }

    public int getvGap() {
        return vGap;
    }

    public IconModel setvGap(int vGap) {
        this.vGap = vGap;
        return this;
    }
    
}
